'tid'=>false, // Connection Id, matches with tranfer Id
'cnx'=>$c, // Connection socket
'remoteIp'=>$addr, // Client's IP
'lastPing'=>time(), // Last message received from client, timestamp
'type'=>null, // Connection type (='bittorrent' if handshake detected)
'inBuffer'=>'', // Current unprocessed buffer (received from client)
'inMessages'=>array(), // Current unprocessed messages (received from client)
'outBuffer'=>'', // Current unprocessed buffer (received from client)
'pieceLength'=>0, // Size of pieces, in bytes
'filesOffsets'=>array(), // Array of files name,start offset, end offset
'inMemoryPiece'=>-1, // n░ of piece loaded into memory
'inMemoryPieceData'=>false, // data of piece loaded into memory
'handshaked'=>false, // True if seeder has returned handshake
'choked'=>false, // True if seeder is choked (overspeed)
'transferLimitation'=>false, // Transfer speed limitation object
'transferLimitationType'=>false // Transfer speed limitation type : 'global' to use cfGGetVar('directLinkDownloadSpeedLimit'), 'user' to use user's value
);
out('******** New Connection ********* from '.$addr,LOG_INF);